<?php

require_once(APPPATH.'models/component.php');

class pw_input extends Component
{
    public $id          = 'pw_input';
	public $title       = 'Input with label';
	public $description = 'Simple input and label with bootstrap framework';
	public $keywords    = 'label input bootstrap form';

    public $attributes = array(
    	'name' => array(
            "id"        => 'name',
            "example"   => "some_name"
        ),
        'id' => array(
            "id"        => 'id',
            "example"   => "some_id"
        ),
        'show' => array(
            'id'      => 'show',
            'example' => 'true'
        ),
        'type' => array(
            "id"        => 'type',
            "example"   => "text"
        ),
        'value' => array(
            "id"        => 'value',
            "example"   => "some value"
        ),
        'placeholder' => array(
            "id"        => 'placeholder',
            "example"   => "This's the placeholder"
        ),
    	'free' => array(
    		"id"        => 'free',
			"example"   => "class='input-xlarge'"
    	)
    );

    public function parseAttributes($post = null)
    {
    	return $post;
    }

} // class pw_input

/* End of file pw_input.class.php */
/* Location: ./components/pw_input/pw_input.class.php */